package com.tjsinfo.tjsoa.fileDocument.bo;

import java.util.List;

import com.tjsinfo.tjsoa.Dao.IJDBCDao;
import com.tjsinfo.tjsoa.Dao.IQbcDao;
import com.tjsinfo.tjsoa.fileDocument.dao.IFileDocumentFileDAO;
import com.tjsinfo.tjsoa.fileDocument.vo.FileDocumentFile;

public interface IFileDocumentFileBo {

	public IQbcDao getQbcDao();

	public void setQbcDao(IQbcDao qbcDao);

	public IJDBCDao getJdbcdao();

	public void setJdbcdao(IJDBCDao jdbcdao);

	public IFileDocumentFileDAO getDocumentFileDAO();

	public void setDocumentFileDAO(IFileDocumentFileDAO documentFileDAO);

	/* (non-Javadoc)
	 * @see com.tjsinfo.tjsoa.fileExpress.FileExpress_File.IFileExpressFileBo#save(com.tjsinfo.tjsoa.fileExpress.FileExpress_File.FileExpressFile)
	 */
	public void save(FileDocumentFile file);

	/* (non-Javadoc)
	 * @see com.tjsinfo.tjsoa.fileExpress.FileExpress_File.IFileExpressFileBo#update(com.tjsinfo.tjsoa.fileExpress.FileExpress_File.FileExpressFile)
	 */
	public void update(FileDocumentFile file);

	public void updatejdbc(String id, int state);

	public void updatejdbcName(String id, String name);

	public void deleteGuoQi(String id, String path);

	public String deleteFile(String ids, String dirName);

	public FileDocumentFile findById(String id);

	public void MoveFile(String copyid, String copygroup);

	public List getExpressFile(int userid);

	public List selectFileByName(String fileName, Integer user_id);

	public List selectHighFile(String lie, String value, Integer userid);

	public void insert(String group_id, int expressUser_id, String fileName,
			String datetime, int expressLevel, int fileSize, String filePath,
			String remark);

	public void updateState(String filename);

	public String updateFileName(String id, String fileName, String dirName);

	public FileDocumentFile findByFileName(String fileName);
}